package com.kechen.cloud.user.controller;

import com.kechen.cloud.feign.client.order.OrderClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/v1")
public class TestController {

    @Resource
    private OrderClient orderClient;

    @PostMapping("/get")
    public String get(){
        return orderClient.get();
    }
}
